package com.yzl.springboot.springboot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;

@ServletComponentScan
@SpringBootApplication
//@ComponentScan({"net.xdclass.package1","net.xdclass.package2"})
//限制扫描的包，增强效率
public class SpringBoot14New01Application {

    public static void main(String[] args) {
        SpringApplication.run(SpringBoot14New01Application.class, args);
    }

}
